Signed-off-by Kevin Tian <Kevin.tian@intel.com>
case VIRQ_XENOPROF:
rc = 0;
break;
+ case VIRQ_ARCH_0 ... VIRQ_ARCH_7:
+ rc = arch_virq_is_global(virq);
+ break;
default:
rc = 1;
break;
(!!(v)->vcpu_info->evtchn_upcall_pending & \
!(v)->vcpu_info->evtchn_upcall_mask)
+static inline int arch_virq_is_global(int virq)
+{
+ int rc;
+
+ switch ( virq )
+ {
+ case VIRQ_ITC:
+ rc = 0;
+ break;
+ default:
+ rc = 1;
+ break;
+ }
+
+ return rc;
+}
+
#endif
(!!(v)->vcpu_info->evtchn_upcall_pending & \
!(v)->vcpu_info->evtchn_upcall_mask)
+/* No arch specific virq definition now. Default to global. */
+static inline int arch_virq_is_global(int virq)
+{
+ return 1;
+}
+
#endif